package com.bocai.grainshop.authserver;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

//在common包中的依赖  相当于使用的同一个Bean 导入一次@EnableSpringHttpSession即可
//包装了 原生的request.getSession() 获取session都是获取redis中的
//@EnableSpringHttpSession  //整合redis作为session存储 底层一个fifter过滤器替换原来的session存储
@EnableFeignClients
@EnableDiscoveryClient
@SpringBootApplication
public class GrainshopAuthServerApplication {

    public static void main(String[] args) {
        SpringApplication.run(GrainshopAuthServerApplication.class, args);
    }

}
